# Contributor: The one with the braid <info@braid.business>
# Maintainer: The one with the braid <info@braid.business>
pkgname=py3-mss
pkgver=9.0.2
pkgrel=0
pkgdesc="Ultra fast cross-platform multiple screenshots module"
url="https://github.com/BoboTiG/python-mss"
arch="all"
license="MIT"
depends="python3 py3-hatchling"
makedepends="py3-gpep517 py3-setuptools py3-wheel"
source="$url/archive/v$pkgver/python-mss-$pkgver.tar.gz"

builddir="$srcdir/python-mss-$pkgver"

options="!check"

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	pwd
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
51aedba8f8cbe4a9f1f810fbe05ef21b6debcd12a5b50f19e27f61a7981fa8dec9d567391e7ffd5a7c67293132ae0cf97b11fddec422985929a842e7baec9af9  python-mss-9.0.2.tar.gz
"
